<?php include ("../conectar.php"); 

$codimpuesto=$_GET["codimpuesto"];

$query="SELECT * FROM liquidacion_param";
$rs_query=mysql_query($query);

?>
<html>
	<head>
		<title>Principal</title>
		<link href="../estilos/estilos.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="../funciones/validar.js"></script>
		<script language="javascript">
		
		function cancelar() {
			location.href="index.php?cadena_busqueda=<? echo $cadena_busqueda?>";

		}
		
		function aceptar(){
			document.getElementById("formulario").submit();
		}	

		var cursor;
		if (document.all) {
		// Está utilizando EXPLORER
		cursor='hand';
		} else {
		// Está utilizando MOZILLA/NETSCAPE
		cursor='pointer';
		}
		
		</script>
	</head>
	<body>
		<div id="pagina">
			<div id="zonaContenido">
				<div align="center">
				<div id="tituloForm" class="header">Modificar Parámetros Liquidación</div>
				<div id="frmBusqueda">
				<div align="left">
				<form id="formulario" name="formulario" method="post" action="guardar_nro_liquid.php">
					<table class="fuente8" cellspacing=0 cellpadding=3 border=0>
						<tr>
							<td>Anual:</td>
							<td><input NAME="QAnual" type="text" class="cajaPequena" id="valor" size="5" maxlength="4" value="<?php echo mysql_result($rs_query,0,"cant_anual")?>"></td>
					        </tr>
						<tr>
							<td>Mensual:</td>
							<td><input NAME="QMensual" type="text" class="cajaPequena" id="valor" size="5" maxlength="3" value="<?php echo mysql_result($rs_query,0,"cant_mensual")?>"></td>
					        </tr>
						<tr>
							<td>Mes:</td>
							<td><input NAME="QMes" type="text" class="cajaPequena" id="valor" size="5" maxlength="2" disabled="disabled" style="background-color:#72A4D2;" value="<?php echo mysql_result($rs_query,0,"mes")?>"></td>
					        </tr>
						<tr>
							<td>Año:</td>
							<td><input NAME="QAnho" type="text" class="cajaPequena" id="valor" size="5" maxlength="4" disabled="disabled" style="background-color:#72A4D2;" value="<?php echo mysql_result($rs_query,0,"anho")?>"></td>
					        </tr>
					</table>
			  </div>
				<div id="botonBusqueda">					
					<img src="../img/botonaceptar.jpg" width="85" height="22" onClick="aceptar()" border="1" onMouseOver="style.cursor=cursor">										
					<img src="../img/botoncancelar.jpg" width="85" height="22" onClick="window.close()" border="1" onMouseOver="style.cursor=cursor">
			  </div>
			  </form>
			 </div>
		  </div>
		</div>
	</body>
</html>
